
package ru.creator.logical.links.db;

import java.sql.Connection;
import java.util.LinkedHashMap;
import java.util.List;

/**
 *
 * @author ~jo-MA-jo~
 */
public abstract class Table {
    protected String name;    
    protected LinkedHashMap<String,TableObject> structure;
   // protected List<TableObject> structure;

    

    public Table() {
    }
   // public abstract int getId ();
    public abstract LinkedHashMap<String,TableObject> getStructure();
    public abstract String getTableName();
    public abstract Table getTableObject(Connection db, String q);
    public abstract List<Table> getTableList(Connection db, String q);
   // public abstract PreparedStatement insertPrepStat(Connection db);
   // public abstract PreparedStatement updatePrepStat(Connection db);
    
}
